<script setup lang="ts">
import Preson from "./components/Preson.vue";
import { ref } from "vue";
let ren = ref();

function showTest() {
  console.log(ren.value.aLogin());
}
</script>

<template>
  <div>
    <Preson msg="Vite + Vue" ref="ren" />
    <button @click="showTest">test</button>
  </div>
</template>

<style scoped></style>
